<?php
/* @var $this ProposalController */
/* @var $model Proposal */
?>

<?php
$this->breadcrumbs=array(
	 Yii::t('proposal_messages','bug.label'),
);

?>

<h1><?php echo Yii::t('proposal_messages','bug.label') ?></h1>
<br/><br/>
<?php if(Yii::app()->user->hasFlash('bug.subm')): ?>

<div class="flash-success">
	<?php echo Yii::app()->user->getFlash('bug.subm'); ?>
</div>

<script type="text/javascript">
	setTimeout(function(){location.href="<?php echo Yii::app()->homeUrl;?>"} , 3000);   
</script>

<?php else: 


echo $this->renderPartial("bug_form", array('model' => $model));
/*
1- profession
2- region 
3- other
4 - bug
*/
?>

<?php endif; ?>